package com.example.customer.service;

import com.example.common.PageUtils;
import com.example.common.dto.BaseReturnDto;
import com.example.customer.entity.CustomerDO;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tc
 * @since 2022-10-28
 */
public interface CustomerService extends IService<CustomerDO> {
    public PageUtils Querylist(Integer pageNum, Integer pageSize, String search );

    public BaseReturnDto addCustomer(String name,String sex,String pwd,String address,String email);

    public BaseReturnDto exportCustomer(HttpServletRequest req, HttpServletResponse resp);
}
